package com.xkh.common.controller;

import cn.hutool.core.util.StrUtil;
import com.xkh.common.annotation.Log;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xkh
 * @date 2020/11/4 9:54
 */
@RestController
@RequestMapping("util/aspect")
@Api(tags = "AOP切面模块")
@Slf4j
public class AspectController {


    @GetMapping("/open")
    @ApiOperation("开始切面")
    @Log(title = "切面描述xxx")
    public void open(){
        log.info("切面操作.......");
    }

}
